const express = require("express");
const router = express.Router();
const iconGroupService = require("./service/GroupServiceImpl");

// 新增修改图标组
router.post("/saveOrUpdate", (req, res, next) => {
  iconGroupService.saveOrUpdateIconGroup(req, res, next);
});

// 获取图标组列表
router.post("/list", (req, res, next) => {
  iconGroupService.getIconGroupList(req, res, next);
});

// 删除图标组
router.post("/delete", (req, res, next) => {
  iconGroupService.deleteIconGroup(req, res, next);
});
module.exports = router;
